package com.xinqi.modules.chat.chat.group.dto.req;

import com.xinqi.modules.chat.enums.group.GroupUserStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author：yyzhen
 * @Package：com.xinqi.modules.chat.chat.group.dto.req
 * @Project：xinqi.modules-cloud-plus
 * @name：ChatGroupUsersUpdateRename
 * @Date：2023/3/27 14:23
 * @Filename：ChatGroupUsersUpdateRename
 */
@Data
public class ChatGroupUsersBatchExamineDTO {
    /**
     * 审核记录主键
     */
    @NotNull(message = "{chat.group.user.id.not.blank}")
    private List<Long> ids;

    @NotEmpty(message = "{chat.chat.groupId.not.blank}")
    @Schema(description = "融云返回群聊ID")
    private String groupId;

    /**
     * 在群中的状态 0待审核 1正常 2拒绝
     */
    @NotNull(message = "{chat.group.user.status.not.blank}")
    private GroupUserStatusEnum status;
}
